\hypertarget{class____Vect2}{}\section{\+\_\+\+\_\+\+Vect2$<$ \+\_\+\+Ty $>$ Class Template Reference}
\label{class____Vect2}\index{\+\_\+\+\_\+\+Vect2$<$ \+\_\+\+Ty $>$@{\+\_\+\+\_\+\+Vect2$<$ \+\_\+\+Ty $>$}}


二维矢量  




{\ttfamily \#include $<$type.\+h$>$}



Collaboration diagram for \+\_\+\+\_\+\+Vect2$<$ \+\_\+\+Ty $>$\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=167pt]{df/dee/class____Vect2__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class____Vect2_af2a8a74ec1d892fb43cda3ca54322b02}{}{\bfseries \+\_\+\+\_\+\+Vect2} (\+\_\+\+Ty o1, \+\_\+\+Ty o2)\label{class____Vect2_af2a8a74ec1d892fb43cda3ca54322b02}

\item 
\hypertarget{class____Vect2_ac6d22eea33eb1fc3a8aa0a730fd1471c}{}{\bfseries \+\_\+\+\_\+\+Vect2} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_ac6d22eea33eb1fc3a8aa0a730fd1471c}

\item 
\hypertarget{class____Vect2_a13154c91f537ec39e3da748e388d1b6c}{}{\bfseries \+\_\+\+\_\+\+Vect2} (const \hyperlink{class____Vect3}{\+\_\+\+\_\+\+Vect3}$<$ \+\_\+\+Ty $>$ v3)\label{class____Vect2_a13154c91f537ec39e3da748e388d1b6c}

\item 
\hypertarget{class____Vect2_a68fd86e0c51727bac5dc724560985dc8}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator=} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_a68fd86e0c51727bac5dc724560985dc8}

\item 
\hypertarget{class____Vect2_a1f52ed5bfd83020b859f04bc3d4b38d3}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator$\ast$} (const \+\_\+\+Ty \&parameter)\label{class____Vect2_a1f52ed5bfd83020b859f04bc3d4b38d3}

\item 
\hypertarget{class____Vect2_a03396cda05a92079692407601383ff2c}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator+} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_a03396cda05a92079692407601383ff2c}

\item 
\hypertarget{class____Vect2_a8cd440cfab35017c1813a588d9232ffb}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator/} (const \+\_\+\+Ty \&parameter)\label{class____Vect2_a8cd440cfab35017c1813a588d9232ffb}

\item 
\hypertarget{class____Vect2_a97732f15e498213263a058c7caffed94}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator/} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&v2)\label{class____Vect2_a97732f15e498213263a058c7caffed94}

\item 
\hypertarget{class____Vect2_ace9fd2cd62643d81becb7757d9160a3b}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries Abs} ()\label{class____Vect2_ace9fd2cd62643d81becb7757d9160a3b}

\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class____Vect2_acd6120d25bbb0139a0424ff3b2073f14}{}\+\_\+\+Ty {\bfseries member} \mbox{[}2\mbox{]} = \{\}\label{class____Vect2_acd6120d25bbb0139a0424ff3b2073f14}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class____Vect2_a825b2b60145bf989f9ccb873b11ca2f9}{}ostream \& {\bfseries operator$<$$<$} (ostream \&out, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ other)\label{class____Vect2_a825b2b60145bf989f9ccb873b11ca2f9}

\item 
\hypertarget{class____Vect2_a37b70510be98063625b722450c8810b9}{}\hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ {\bfseries operator-\/} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&mypara, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_a37b70510be98063625b722450c8810b9}

\item 
\hypertarget{class____Vect2_af9088d23583021a142e3ff732982fadf}{}bool {\bfseries operator$<$=} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_af9088d23583021a142e3ff732982fadf}

\item 
\hypertarget{class____Vect2_ad74910e76d7e9a5f68a86caf4591b279}{}bool {\bfseries operator$<$} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_ad74910e76d7e9a5f68a86caf4591b279}

\item 
\hypertarget{class____Vect2_a0f821a609050dddee722f87cf8398e4f}{}bool {\bfseries operator$>$} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_a0f821a609050dddee722f87cf8398e4f}

\item 
\hypertarget{class____Vect2_a0c03b7ec63467e76ebe8299996097d48}{}bool {\bfseries operator==} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_a0c03b7ec63467e76ebe8299996097d48}

\item 
\hypertarget{class____Vect2_aacd110feb8bce2ae58466c696202fc69}{}bool {\bfseries operator$>$=} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me, const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&other)\label{class____Vect2_aacd110feb8bce2ae58466c696202fc69}

\item 
\hypertarget{class____Vect2_a0da626bac651387f1688580eab27ea95}{}\+\_\+\+Ty {\bfseries Mod} (const \hyperlink{class____Vect2}{\+\_\+\+\_\+\+Vect2}$<$ \+\_\+\+Ty $>$ \&me)\label{class____Vect2_a0da626bac651387f1688580eab27ea95}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class \+\_\+\+Ty$>$class \+\_\+\+\_\+\+Vect2$<$ \+\_\+\+Ty $>$}

二维矢量 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
type.\+h\end{DoxyCompactItemize}
